/*
 * @Author: Mainul Islam
 */

package edu.uta.cse.randomgraph.graph.property;

import java.util.ArrayList;
import java.util.List;

public class Node {

	public int X, Y;
	public int deg, inDeg, outDeg;
	public List<Integer> edgeList;
	private int conCompRank;
	private double clusCo;
	public boolean isBaseNode;
	public boolean isDeleted;
	public int age;
	
	public Node() {
		initNode();
	}
	
	private void initNode() {
		age = 0;
		X = Y = 0;
		deg = inDeg = outDeg = 0;
		conCompRank = 0;
		clusCo = 0;
		isBaseNode = false;
		isDeleted = false;
		edgeList = new ArrayList<Integer>();
	}
	
	public int getConCompRank() {
		return this.conCompRank;
	}
	
	public void setConCompRank(int rank) {
		this.conCompRank = rank;
	}
	
	public double getClusteringCoefficient() {
		return this.clusCo;
	}
	
	public void setClusteringCoefficient(double cc) {
		this.clusCo = cc;
	}
	
	public void loadNode(Node n) {
		this.X = n.X;
		this.Y = n.Y;
		this.isBaseNode = n.isBaseNode;
		this.deg = n.deg;
	}

}
